package hlhj.fhp.supreme.javabean;

import java.util.List;

/**
 * Created by Administrator on 2018\4\19 0019.
 */

public class ReadDetailBean {


    /**
     * code : 1
     * msg : 操作成功！
     * data : {"title":"读书嘛","desc":"对对对","lesson":[{"id":1,"src":"eewwe","sort":1}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * title : 读书嘛
         * desc : 对对对
         * lesson : [{"id":1,"src":"eewwe","sort":1}]
         */

        private String title;
        private String desc;
        private List<LessonBean> lesson;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public List<LessonBean> getLesson() {
            return lesson;
        }

        public void setLesson(List<LessonBean> lesson) {
            this.lesson = lesson;
        }

        public static class LessonBean {
            /**
             * id : 1
             * src : eewwe
             * sort : 1
             */

            private int id;
            private String src;
            private int sort;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getSrc() {
                return src;
            }

            public void setSrc(String src) {
                this.src = src;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }
        }
    }
}
